The CSS file holds formatting settings that can be reused throughout the website. My CSS file works in tandem with the Master Page to give the uniform look and feel to the site. I did a lot of research on CSS's while designing my website. If designed properly, the CSS allows the programmer to separate all "formatting" from the actual code.
I will go through each section of the CSS file and defined how it interacts with the website.
body
{background-color:#FF9900;margin:0auto;padding:15px0px0px0px;}
The body section sets the background color of the website and sets the margin to allow the browser to select.
The #FooterContainer is simply a holding container for the footer. #Footer creates the space for the footer text, text aligns it to the right of screen and anchors it to the bottom of the page.
#navigation{margin:0auto;width:900px;background:#ef8d3480px0px;height:30px;}#navigation ul
{margin:0;padding:0;}#navigation ul li
{list-style-type:none;display:inline;}#navigation li a
{display:block;float:left;padding:5px10px;color:#000;text-decoration:none;font-weight:bold;border-right:1pxsolid#000;height:20px;}#navigation li a:hover {background:#000;color:#FF9900;}
Each of the #navigation entries handles the placement of the Menu bar under the main logo. Each link (li) in the navigation bar changes colors when the mouse hovers over it.
#pageTitle is used to format the title of each page in the website. It adds an orange line under the title and sets font. #weather sets the properties of the weather link on the home page (Default.aspx). .label sets the font to every label on the website.
Cascading Style Sheets (CSS)
The CSS file holds formatting settings that can be reused throughout the website. My CSS file works in tandem with the Master Page to give the uniform look and feel to the site. I did a lot of research on CSS's while designing my website. If designed properly, the CSS allows the programmer to separate all "formatting" from the actual code.I will go through each section of the CSS file and defined how it interacts with the website.
The body section sets the background color of the website and sets the margin to allow the browser to select.
The #FooterContainer is simply a holding container for the footer. #Footer creates the space for the footer text, text aligns it to the right of screen and anchors it to the bottom of the page.
Each of the #navigation entries handles the placement of the Menu bar under the main logo. Each link (li) in the navigation bar changes colors when the mouse hovers over it.
The ContentContainer holds the two main containers in the master page. It sets the back of the each container to white to make them look seamless.
#pageTitle is used to format the title of each page in the website. It adds an orange line under the title and sets font. #weather sets the properties of the weather link on the home page (Default.aspx). .label sets the font to every label on the website.